//
//  LETabBarViewController.m
//  LoveExpressBusiness
//
//  Created by 刘甲奇 on 2017/5/9.
//  Copyright © 2017年 DFH. All rights reserved.
//

#import "ZDTabBarViewController.h"

@interface ZDTabBarViewController ()

@end

@implementation ZDTabBarViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setViewControllers:@[[self chirldViewControllerWithStoryboardName:@"Store"],[self chirldViewControllerWithStoryboardName:@"Staff"],[self chirldViewControllerWithStoryboardName:@"Service"],[self chirldViewControllerWithStoryboardName:@"Own"]]];
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    self = [super initWithCoder:aDecoder];
    if (self) {
        
//    [self setViewControllers:@[[self chirldViewControllerWithStoryboardName:@"Store"],[self chirldViewControllerWithStoryboardName:@"Staff"],[self chirldViewControllerWithStoryboardName:@"Service"],[self chirldViewControllerWithStoryboardName:@"Own"]]];
    }
    return self;
}
- (UIViewController *)chirldViewControllerWithStoryboardName:(NSString *)storyboardName {
    UIStoryboard *chirldBoard = [UIStoryboard storyboardWithName:storyboardName bundle:nil];
    return [chirldBoard instantiateInitialViewController];
}

@end
